home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / binaries / Windows / JavaIDL-EA-win32.EXE / JavaIDL / examples / hello / README.old < prev    next >
Encoding:
Text File  |  1997-02-28  |  766 b   |  31 lines

  1. Steps to build:
  2. --------------
  3.  
  4. o Compile the IDL compiler to generate stubs and skeletons
  5.  
  6.   idltojava -fclient -fserver hello.idl
  7.  
  8. o Compile all the Java Files
  9.  
  10.   javac -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. *.java HelloApp/*.java
  11.  
  12.   where, JAVA_HOME, and JAVAIDL_HOME are where JDK and JavaIDL are
  13.   installed respectively.
  14.  
  15. Steps to Run:
  16. -------------
  17.  
  18. o Run the name server
  19.   
  20.   cd to ${JAVAIDL_HOME}/bin, and run
  21.  
  22.   nameserv -ORBInitialPort 1050
  23.  
  24. o Run the Hello Server
  25.  
  26.   java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. helloServer -ORBInitialPort 1050
  27.  
  28. o Run the Hello Client 
  29.  
  30.   java -classpath ${JAVA_HOME}/lib/classes.zip:${JAVAIDL_HOME}/lib/classes.zip:. helloClient -ORBInitialPort 1050
  31.